package com.briup.jd2407cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.jd2407cms.domain.Slideshow;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author jay
* @description 针对表【cms_slideshow】的数据库操作Service
* @createDate 2024-11-18 14:40:14
*/
public interface SlideshowService extends IService<Slideshow> {

    List<Slideshow> queryAllEnable();

    /**
     * query by page condition
     *
     * @param pageNum     page num 页码
     * @param pageSize    page size
     * @param status      status 轮播图状态
     * @param description description 是否启用
     * @return ipage<slideshow>
     */
    IPage<Slideshow> queryByPageCondition(Integer pageNum, Integer pageSize, String status, String description);

}

